package com.gonsin.gview.common.auth;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Getter
public class JwtConfig {

    /**
     * jwt秘钥
     */
    @Value("${com.gonsin.venus.base.jwt.jwtSecret:7Bxwruo5qdCFl9c1VqPr8ovPPQh6BJ4s}")
    private String jwtSecret;

    /**
     * token有效时长
     */
    @Value("${com.gonsin.venus.base.jwt.expiredTime:86400000}")
    private Long expiredTime;

}
